
import createHeading from './heading.js'
import './main.css'
// import icon from './desk.png'
// import './main.css'
// import FooterHtml from './footer.html'
// document.write(FooterHtml)
// const img = new Image()
// img.src = icon
const heading = createHeading()
document.body.append(heading)
let lastHeading = heading
module.hot.accept('./heading.js',()=>{
    document.body.removeChild(lastHeading)
    const newHeading = createHeading()
document.body.append(newHeading)
lastHeading = newHeading
})
// document.body.append(img)
// import README from '../README.md'
// console.log(README)